<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template hashtable_size_wrapper</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../intrusive/reference.html#header.boost.intrusive.hashtable_hpp" title="Header &lt;boost/intrusive/hashtable.hpp&gt;">
<link rel="prev" href="hashtable_equal_holder.html" title="Struct template hashtable_equal_holder">
<link rel="next" href="hashtable_size_wr_idm32564.html" title="Struct template hashtable_size_wrapper&lt;DeriveFrom, SizeType, false&gt;">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="hashtable_equal_holder.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../intrusive/reference.html#header.boost.intrusive.hashtable_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hashtable_size_wr_idm32564.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.intrusive.hashtable_size_wrapper"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template hashtable_size_wrapper</span></h2>
<p>boost::intrusive::hashtable_size_wrapper</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../intrusive/reference.html#header.boost.intrusive.hashtable_hpp" title="Header &lt;boost/intrusive/hashtable.hpp&gt;">boost/intrusive/hashtable.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> DeriveFrom<span class="special">,</span> <span class="keyword">typename</span> SizeType<span class="special">,</span> <span class="keyword">bool</span> <span class="special">&gt;</span> 
<span class="keyword">struct</span> <a class="link" href="hashtable_size_wrapper.html" title="Struct template hashtable_size_wrapper">hashtable_size_wrapper</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">DeriveFrom</span> <span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span>         <a name="boost.intrusive.hashtable_size_wrapper.size_traits"></a><span class="identifier">size_traits</span><span class="special">;</span>        
  <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="identifier">size_traits</span> <span class="special">&amp;</span> <a name="boost.intrusive.hashtable_size_wrapper.size_traits_const_t"></a><span class="identifier">size_traits_const_t</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">size_traits</span> <span class="special">&amp;</span>       <a name="boost.intrusive.hashtable_size_wrapper.size_traits_t"></a><span class="identifier">size_traits_t</span><span class="special">;</span>      

  <span class="comment">// <a class="link" href="hashtable_size_wrapper.html#boost.intrusive.hashtable_size_wrapperconstruct-copy-destruct">construct/copy/destruct</a></span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Base<span class="special">,</span> <span class="keyword">typename</span> Arg0<span class="special">,</span> <span class="keyword">typename</span> Arg1<span class="special">,</span> <span class="keyword">typename</span> Arg2<span class="special">&gt;</span> 
    <a class="link" href="../interprocess/named_upgradable_mutex.html#idm32547-bb"><span class="identifier">hashtable_size_wrapper</span></a><span class="special">(</span><span class="identifier">BOOST_FWD_REF</span><span class="special">(</span><span class="identifier">Base</span><span class="special">)</span><span class="special">,</span> <span class="identifier">BOOST_FWD_REF</span><span class="special">(</span><span class="identifier">Arg0</span><span class="special">)</span><span class="special">,</span> 
                           <span class="identifier">BOOST_FWD_REF</span><span class="special">(</span><span class="identifier">Arg1</span><span class="special">)</span><span class="special">,</span> <span class="identifier">BOOST_FWD_REF</span><span class="special">(</span><span class="identifier">Arg2</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="hashtable_size_wrapper.html#idm32561-bb"><span class="identifier">hashtable_size_wrapper</span></a><span class="special">(</span><span class="identifier">hashtable_size_wrapper</span> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="hashtable_size_wrapper.html#idm32534-bb">public member functions</a></span>
  <span class="identifier">SizeType</span> <a class="link" href="hashtable_size_wrapper.html#idm32535-bb"><span class="identifier">get_hashtable_size_wrapper_size</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="hashtable_size_wrapper.html#idm32537-bb"><span class="identifier">set_hashtable_size_wrapper_size</span></a><span class="special">(</span><span class="identifier">SizeType</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="hashtable_size_wrapper.html#idm32541-bb"><span class="identifier">inc_hashtable_size_wrapper_size</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="hashtable_size_wrapper.html#idm32543-bb"><span class="identifier">dec_hashtable_size_wrapper_size</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">size_traits_t</span> <a class="link" href="hashtable_size_wrapper.html#idm32545-bb"><span class="identifier">priv_size_traits</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// public data members</span>
  <span class="identifier">size_traits</span> <span class="identifier">size_traits_</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.18.42.14.28.4"></a><h2>Description</h2>
<div class="refsect2">
<a name="id-1.3.18.42.14.28.4.2"></a><h3>
<a name="boost.intrusive.hashtable_size_wrapperconstruct-copy-destruct"></a><code class="computeroutput">hashtable_size_wrapper</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Base<span class="special">,</span> <span class="keyword">typename</span> Arg0<span class="special">,</span> <span class="keyword">typename</span> Arg1<span class="special">,</span> <span class="keyword">typename</span> Arg2<span class="special">&gt;</span> 
  <a name="idm32547-bb"></a><span class="identifier">hashtable_size_wrapper</span><span class="special">(</span><span class="identifier">BOOST_FWD_REF</span><span class="special">(</span><span class="identifier">Base</span><span class="special">)</span> base<span class="special">,</span> <span class="identifier">BOOST_FWD_REF</span><span class="special">(</span><span class="identifier">Arg0</span><span class="special">)</span> arg0<span class="special">,</span> 
                         <span class="identifier">BOOST_FWD_REF</span><span class="special">(</span><span class="identifier">Arg1</span><span class="special">)</span> arg1<span class="special">,</span> <span class="identifier">BOOST_FWD_REF</span><span class="special">(</span><span class="identifier">Arg2</span><span class="special">)</span> arg2<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm32561-bb"></a><span class="identifier">hashtable_size_wrapper</span><span class="special">(</span><span class="identifier">hashtable_size_wrapper</span> <span class="special">&amp;&amp;</span> other<span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.18.42.14.28.4.3"></a><h3>
<a name="idm32534-bb"></a><code class="computeroutput">hashtable_size_wrapper</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="identifier">SizeType</span> <a name="idm32535-bb"></a><span class="identifier">get_hashtable_size_wrapper_size</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm32537-bb"></a><span class="identifier">set_hashtable_size_wrapper_size</span><span class="special">(</span><span class="identifier">SizeType</span> s<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm32541-bb"></a><span class="identifier">inc_hashtable_size_wrapper_size</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm32543-bb"></a><span class="identifier">dec_hashtable_size_wrapper_size</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">size_traits_t</span> <a name="idm32545-bb"></a><span class="identifier">priv_size_traits</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2005 Olaf Krzikalla<br>Copyright © 2006-2015 Ion Gaztanaga<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="hashtable_equal_holder.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../intrusive/reference.html#header.boost.intrusive.hashtable_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hashtable_size_wr_idm32564.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
